/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.diplomka.datalayer.entity;

import cz.fi.muni.diplomka.common.Army;

/**
 * Class representing City Army Entity
 *
 * @author Jakub Kutil
 */
public class CityArmyEntity {

    private Long id;
    private Long cityId;
    private Long ownerCityId;
    private String name;
    private boolean guard;
    private Army army;

    public CityArmyEntity() {
        this.army = new Army();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Long getOwnerCityId() {
        return ownerCityId;
    }

    public void setOwnerCityId(Long ownerCityId) {
        this.ownerCityId = ownerCityId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isGuard() {
        return guard;
    }

    public void setGuard(boolean guard) {
        this.guard = guard;
    }

    public Army getArmy() {
        return army;
    }

    public void setArmy(Army army) {
        this.army = army;
    }
}
